const express = require('express')
const router = express.Router()
const controller = require('../controller/picture')

// const multer = require('multer')
// const upload = multer({ dest: 'public/upload' })

router.post('/api/upload', controller.beforeupload.single('file'), controller.upload)

module.exports = router